package com.zhku.shoppingspringboot.pojo.vo;

import cn.hutool.core.date.DateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;


/**
 * @author hwy
 * @date 2025-01-02 14:22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class SubmitOrderVO {
    @ApiModelProperty("订单id")
    private Long id;

    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("支付类型")
    private Integer payType;

    @ApiModelProperty("订单状态")
    private Integer orderState;

    @ApiModelProperty("订单截止时间")
    private String payLatestTime;

    @ApiModelProperty("商品数量")
    private Integer goodsCount;

    @ApiModelProperty("总价格")
    private Float totalPrice;

    @ApiModelProperty("总实付价格")
    private Float totalPayPrice;

    @ApiModelProperty("邮费")
    private Float postFree;

    @ApiModelProperty("商品sku的id集合")
    private List<Long> skus;

    @ApiModelProperty("支付渠道")
    private Integer payChannel;

    @ApiModelProperty("订单倒计时 剩余的秒数 -1 表示已经超时，正数表示倒计时未结束")
    private Long countDown;
}
